请求
curl --location 'https://openapi.gs-robot.com/v1alpha1/robots/TEST00-0000-000-B001/commands/81e9087a-46d2-4537-874a-a48f8a7dd82c'
--header 'Authorization: Bearer {{token}}'
输出
{
"name": "robots/TEST00-0000-000-B001/commands/81e9087a-46d2-4537-874a-a48f8a7dd82c",
"parent": "robots/TEST00-0000-000-B001",
"commandParameter": {
"startTaskParameter": {
"cleaningMode": "扫地",
"task": {
"name": "execute_task_10",
"map": "10",
"subTasks": [],
"loop": false,
"loopCount": 1
}
}
},
"state": "ACCEPTED",
"serialNumber": "TEST00-0000-000-B001",
"user": "913379f72c5ccc1d418224c2b6bd0f87",
"createTime": "2024-01-27T07:16:03Z",
"updateTime": "2024-01-27T07:16:08Z",
"startTime": "2024-01-27T07:16:03Z",
"startDelay": 1800000,
"rawCommandType": "start_task"
}